-- GENERATED SPELL FOR [Greater Bogstrok] --


function spell0_17817(pUnit, Event) --@Decayed Strength,n/a--
pUnit:FullCastSpellOnTarget(35760,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17817', 612, 1)
end

function Sorts_17817(pUnit, Event)
local choix_sorts_17817 = math.random(0, 0)
if choix_sorts_17817 == 0 then
pUnit:RegisterEvent('spell0_17817', 1, 1)
end
end

function mob17817_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17817', math.random(1500, 3000), 1)
end

function mob17817_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17817_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17817_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17817, 1, 'mob17817_Action')
RegisterUnitEvent(17817, 2, 'mob17817_Leave')
RegisterUnitEvent(17817, 3, 'mob17817_Kill')
RegisterUnitEvent(17817, 4, 'mob17817_Die')
